package com.zhouyihe.weblog.admin.event.subscriber;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @ClassName UpdateCommentEvent
 * @author: 周益和
 * @qq: 1552951165
 * @date: 2024/8/27
 * @description:
 */
@Getter
public class UpdateCommentEvent extends ApplicationEvent {
    
    /**
     * 评论 ID
     */
    private Long commentId;
    
    public UpdateCommentEvent(Object source, Long commentId) {
        super(source);
        this.commentId = commentId;
    }
}